package com.apexedu.portal.entity;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 服务资源订阅
 * Created by ly on 2015/1/16.
 */
@Entity
@Table(name = "T_FW_DY")
public class TFwDy implements Serializable {
    private String wid;
    private String fwid; //t_fw表wid
    private String userid; //用户表userid
    private String menuid; //菜单资源表menuid

    @Id
    @Column(name = "WID")
    public String getWid() {
        return wid;
    }

    public void setWid(String wid) {
        this.wid = wid;
    }

    @Basic
    @Column(name = "FWID")
    public String getFwid() {
        return fwid;
    }

    public void setFwid(String fwid) {
        this.fwid = fwid;
    }

    @Basic
    @Column(name = "USERID")
    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    @Basic
    @Column(name = "MENUID")
    public String getMenuid() {
        return menuid;
    }

    public void setMenuid(String menuid) {
        this.menuid = menuid;
    }

    @Override
    public String toString() {
        return "TFwDy{" +
                "wid='" + wid + '\'' +
                ", fwid='" + fwid + '\'' +
                ", userid='" + userid + '\'' +
                ", menuid='" + menuid + '\'' +
                '}';
    }
}
